package com.jsj.domain;


import org.springframework.stereotype.Component;

import java.util.List;

@Component

public class DTO {
    private String userName;

    private List<String> list;
    public DTO(){}
    public DTO(String userName, List<String> list){
        this.userName=userName;
        this.list=list;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }
}
